from sqlalchemy import Column, DateTime, Integer, String
from database.db_init import Base


class Planting_plan(Base):
    __tablename__ = "Planting_Plan"
    ID = Column(Integer, primary_key=True, index=True)
    PlanName = Column(String, unique=False)
    CropHistoryID = Column(Integer, unique=False)
    StartDate = Column(DateTime, unique=False)
    EndDate = Column(DateTime, unique=False)
    PlanDuration = Column(String, unique=False)
    PlotID = Column(Integer, unique=False)
    Remarks = Column(String, unique=False)
